package Com.amit.corejava;

public class Lab104 {

	public static void main(String[] args) 
	{
	
	String s1="amit yadav";
	
	System.out.println(s1.substring(2));
	System.out.println(s1.substring(2, 8));
	}

}
